package DomainPackage;
import java.util.ArrayList;
import java.util.List;


public class PilotCatalog {
	private List<Pilot> pilotList = new ArrayList<Pilot>();

	public List<Pilot> getPilotList() {
		return pilotList;
	}

	public void setPilotList(List<Pilot> pilotList) {
		this.pilotList = pilotList;
	}
	
	public void addPilot(Pilot p){
		this.pilotList.add(p);
	}

	public Pilot pilotGetir(int pilotID) {
		return this.getPilotList().get(pilotID);
	}

}
